import React, { FC} from 'react';
import { Link} from 'react-router-dom';
import { connect } from 'react-redux';

import * as actions from '../../store/actions'

const IndexPage:FC<any> = () =>{

    return(
        <div>
                <div>
                    <Link to="/index/main">首页</Link>
                    <Link to="/index/subjectNavigation">学科导航</Link>
                    <Link to="/login">登录</Link>
                </div>
        </div>
    )
}

export default connect(
    (state) => state,
    actions
)(IndexPage)